package com.huike.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huike.dto.ContractDto;
import com.huike.entity.Contract;
import com.huike.result.PageResult;
import com.huike.result.Result;
import org.springframework.web.multipart.MultipartFile;

public interface ContractService extends IService<Contract> {


    Result<PageResult> queryPage(ContractDto contractDto);

    Result purchaseCourseList(String subject);

    Result purchaseSubjectList();

    Result findById(Integer id);

    Result channelList();

    Result activityList(String id);


    Result purchaseCourseGetList();

    Result<String> uploadPDF(MultipartFile file);

    Result insert(Contract contract);
}
